package com.stonedt.spider.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.alibaba.fastjson.JSONObject;
import com.stonedt.spider.entity.BidEntity;
import com.stonedt.spider.entity.NewEntity;
import com.stonedt.spider.entity.ServerResource;
import org.springframework.stereotype.Component;

public interface IServerResourceService {

	/**
	 * 查询全部服务器资源清单与使用状态
	 * @return
	 */
	List<ServerResource> queryServerResourceAll();
	
	List<Map<String, Object>> listGov(Integer type);

	List<Map<String, Object>> listNews(Integer type);

	List<Map<String, Object>> listForum(Integer type);

	List<Map<String, Object>> listNewspaper(Integer type);

	List<Map<String, Object>> listBlog(Integer type);

	List<Map<String, Object>> listWebsite(Integer type);

	List<NewEntity> list(NewEntity params);
	
	List<NewEntity> Bidlist(NewEntity params);

	void updateWebType(Integer id, Integer webType);

	Set<String> loadSponsorNature();
	
	Set<String> loadSponsorNatureBid();
}
